const Koa = require('koa');
const router = require('./router');
const session = require('./session');
const _static = require('./staticServer');
const cors = require('./cors');
const gzip = require('./gzip');
// const interceptor = require('./Interceptor');
const connect = require('./database');
const app = new Koa();
cors(app);
session(app);
_static(app);
// app.use(interceptor);
router(app);
gzip(app);
connect(app);
